package top.zhuyougu.service;

import top.zhuyougu.common.ResponseResult;
import top.zhuyougu.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 系统管理-角色表  服务类
 * </p>
 *
 * @author 猪油骨
 * @since 2022-12-10 01:15:43
 */
public interface RoleService extends IService<Role> {


    ResponseResult listRole(String name);

    ResponseResult insertRole(Role role);

    ResponseResult updateRole(Role role);

    ResponseResult deleteBatch(List<Integer> ids);

    ResponseResult getCurrentUserRole();

    ResponseResult selectById(Integer roleId);

}
